<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{commons/public::common-public}">
<header th:replace="~{commons/header::common-header(activeUrl='main')}"></header>
<meta charset="UTF-8">
<title></title>
</head>
<style>
body{
	font-size:16px;
	font-weight: bold;
	color:rgb(1, 50, 86);
}
h1{
	color:#f3efef;
}
li{
	list-style-type: none;
	font-size: 35px;
}
.div-b{ 
	border-radius:15px;
	background:rgba(000,000,000, .1);
	width:350px;
	height:430px;
	padding:5px; 
	position:absolute;
	top:20%;
	left:38%;
	margin:auto;
	} 
.button{
	position:absolute;
	left:50%;
}
.div-bb{
	position:absolute;
	top:18%;
	left:5%;
}
a{
	font-size:23px;
	color:#f3efef;
	text-decoration: none;
}
</style>
<body background="/fonts/背景.png" alt="背景" style="background-repeat: no-repeat;background-size: 100%;background-attachment: fixed;">
<br>
	<h1 align="center">用户修改</h1>
	<div class="div-b">
	<div class="div-bb">
	<form th:action="@{/user/update}"  method="post">
	    <input name="id" type="hidden" th:field="${user.id}" >
		&nbsp&nbsp&nbsp&nbsp用&nbsp户&nbsp名:<input name="userName" th:value="${user.userName}" > <br>
		</br>
		&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp密&nbsp&nbsp&nbsp码:<input name="password"  th:value="${user.password}" > <br>
		</br>
		&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp性&nbsp&nbsp&nbsp别:<input name="gender" th:value="${user.gender}" >  <br>
		</br>
		&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp年&nbsp&nbsp&nbsp龄:<input name="age" th:value="${user.age}" >  <br>
		</br>
		&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp类&nbsp&nbsp&nbsp别:<input name="type" th:value="${user.type}" > <br>
		</br>
		</br>
		<div class="button">
		<input type="submit"  value="修改"> 
		</div>
		</div>
	</form>
	</br>
	</br>
	<label th:text="${msg}" > </label>
	</div>
	</div>
</body>
</html>